import request from '@/utils/request'

// 查询委托人列表
export const getAssignorlist = (data) => {
    return request({
        url: '/app/assignor/getRelateEnt',
        method: 'get',
        data
    })
}

// 添加委托人
export const addAssignor = (data) => {
    return request({
        url: '/app/assignor/useAssignorCode',
        method: 'post',
        data
    })
}

// 添加委托人
export const realAuth = (data) => {
    return request({
        url: '/app/assignor/realAuth',
        method: 'post',
        data
    })
}